﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="Webshop20.Views.Registration" %>
<%@ Import Namespace="System.Web.Mvc.Html"%>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <script type="text/javascript">
        <%= ViewData.Model.UnestedValidationCode %>
    </script>
    
    <%= Html.ValidationSummary() %>
    
    <% using (Html.BeginForm())
       { %>
       Vorname:             <%= Html.TextBox("FirstName", ViewData.Model.FirstName) %><br />
       Nachname:            <%= Html.TextBox("LastName", ViewData.Model.LastName) %><br />
       E-Mail:              <%= Html.TextBox("EMail", ViewData.Model.EMail) %><br />
       Passwort:            <%= Html.TextBox("Password", ViewData.Model.Password) %><br />
       Passwort bestätigen: <%= Html.TextBox("PasswordConfirm") %><br />
       Kontrollfrage:       <%= Html.ListBox("ControllQuestion", ViewData.Model.ControllQuestionsListbox ) %><br />
       Kontrollantwort:     <%= Html.TextBox("ControllAnswer", ViewData.Model.ControlAnswer) %><br />
       
       <input type="submit" value="Weiter" />
    <%} %>
</asp:Content>
